package com.ruoyi.activiti.service;



import com.ruoyi.activiti.domain.BizInterviewEvaluationInfoVo;
import org.activiti.engine.runtime.ProcessInstance;

import java.util.List;
import java.util.Map;

/**
 * 面试评价Service接口
 * 
 * @author ruoyi
 * @date 2021-03-23
 */
public interface IBizInterviewEvaluationInfoService 
{
    /**
     * 查询面试评价
     * 
     * @param id 面试评价ID
     * @return 面试评价
     */
    public BizInterviewEvaluationInfoVo selectBizInterviewEvaluationInfoById(Long id);

    /**
     * 查询面试评价列表
     * 
     * @param bizInterviewEvaluationInfo 面试评价
     * @return 面试评价集合
     */
    public List<BizInterviewEvaluationInfoVo> selectBizInterviewEvaluationInfoList(BizInterviewEvaluationInfoVo bizInterviewEvaluationInfo);

    /**
     * 新增面试评价
     * 
     * @param bizInterviewEvaluationInfo 面试评价
     * @return 结果
     */
    public int insertBizInterviewEvaluationInfo(BizInterviewEvaluationInfoVo bizInterviewEvaluationInfo);

    /**
     * 修改面试评价
     * 
     * @param bizInterviewEvaluationInfo 面试评价
     * @return 结果
     */
    public int updateBizInterviewEvaluationInfo(BizInterviewEvaluationInfoVo bizInterviewEvaluationInfo);

    /**
     * 批量删除面试评价
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBizInterviewEvaluationInfoByIds(String ids);

    /**
     * 删除面试评价信息
     * 
     * @param id 面试评价ID
     * @return 结果
     */
    public int deleteBizInterviewEvaluationInfoById(Long id);


    /**
     * 启动流程
     * @param entity
     * @param applyUserId
     * @return
     */
    ProcessInstance submitApply(BizInterviewEvaluationInfoVo entity, String applyUserId, String key, Map<String, Object> variables);

    /**
     * 查询我的待办列表
     * @param userId
     * @return
     */
    List<BizInterviewEvaluationInfoVo> findTodoTasks(BizInterviewEvaluationInfoVo leave, String userId);

    List<BizInterviewEvaluationInfoVo> findDoneTasks(BizInterviewEvaluationInfoVo bizLeaveVo, String userId);
}
